<div class="FUI host-ppscache">
	<div class="col-sm-12">
		设备配置 -&gt; PPStreamcache配置&gt; <span id="subTabDetail"></span>
	</div>
	<div class="col-sm-12">
		<ul class="nav nav-tabs" id="subTab">
			<li data-menu="host_ppscache_conf" class="active"><a href="javascript:void(0);">PPStreamcache-配置</a></li>
		</ul>
		
		
<!--
     /**
      *  Mr Du  2016.3.28
      *  pplive 获取设备列表
      *  操作模块
      */
 -->


		<div class="panel">
			<form class="form-horizontal col-sm-12" action="/ApiPPStreamCacheBaseConfig/listHostGroup" method="post" data-target="host_httpcache_conf" data-list="param" data-url="/ApiPPStreamCacheBaseConfig/getPPStreamConfig"></form>

	<script type="template">
		   <div class="row FUI-title ppc-group">
					<div class="col-sm-10">
					
					<strong>获取设备列表：</strong>{{{global_show_checkbox 'ppc_group' '/ApiPPStreamCacheBaseConfig/listHostGroup' 'GroupName' 'Id'}}}
					</div>

					<div class="col-sm-2 FUI-text-right">
						<a href="javascript:void(0);" class="btn btn-primary btn-autoCalc">自动计算</a>
					</div>
			</div>


			<table class="table table-hover ppc-block">
					<tbody>
					<tr>
						<th>
							<input type="checkbox" class="ZUI-checkbox" id="host-distribute-check-all" data-check-all=".host-distribute">
							<label for="host-distribute-check-all">
								<span class="ZUI-checkbox-btn"></span>
								<span class="ZUI-checkbox-txt"></span>
							</label>
						</th>
						<th>Id</th>
						<th>所在组</th>
						<th>PPC</th>
						<th>起始范围</th>
						<th>结束范围</th>
					</tr>
					{{{host_ppstreamcache_Conf_ppcList info.pps}}}
					</tbody>
			</table>

	</script>
			








<!--
     /**
      *  Mr Du  2016.3.28
      *  pplive 获取设备列表值
      *  操作模块
      */
 -->

       <script type="template/html" id="ppclist-template">
			{{#each data}}
			<tr data-ID="{{id}}" data-group="{{group_id}}">
				<td>
					<input type="checkbox" class="ZUI-checkbox host-distribute" value="{{id}}" id="host-distribute-check{{id}}" data-id="{{id}}"{{#if checked}} checked="checked"{{/if}}>
					<label for="host-distribute-check{{id}}">
						<span class="ZUI-checkbox-btn"></span>
						<span class="ZUI-checkbox-txt"></span>
					</label>
				</td>
					<td>{{id}}</td>
					<td>{{group_name}}</td>
					<td>{{pps_name}}</td>
					<td><input type="text" class="ZUI-input ZUI-w140 ppc-start" value="{{start}}" /></td>
					<td><input type="text" class="ZUI-input ZUI-w140 ppc-end" value="{{end}}" /></td>
			</tr>
			{{/each}}
			</script>
	

		<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<a href="javascript:;" class="btn btn-primary btn-set"  role="button">保存</a>
						<a href="javascript:;" class="btn btn-default btn-sending" role="button">下发</a>
						<a href="javascript:;" class="btn btn-default btn-rollbacking" role="button">回滚</a>
					</div>
				</div>

		</div>
	</div>
</div>


